using System.Collections.Generic;

namespace Wolfpack.Periscope.Core.Interfaces.Entities
{
    public class DashboardConfiguration
    {
        private List<DashboardPanelConfiguration> _panels;
        public IEnumerable<DashboardPanelConfiguration> Panels { get { return _panels; } set { _panels = new List<DashboardPanelConfiguration>(value); } }
       
        public DashboardConfiguration AddPanel(DashboardPanelConfiguration panel)
        {
            _panels.Add(panel);
            return this;
        }
    }
}